#ifndef OTA_TASK_H
#define OTA_TASK_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_ota_ops.h"
#include "driver/uart.h"
#include "driver/gpio.h"

#include "LOG.h"
#include "Product_Config.h"

void OTA_init();
void OTA_finish();
void OTA_write(u8 *buffer,u16 length);
#endif